unit ufrmCadEditoraEd;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ufrmDialogoPadrao, StdCtrls, Mask, DBCtrls, DB, Buttons, ufrmCadEditora;

type
  TfrmCadEditoraEd = class(TfrmDialogoPadrao)
    lbl1: TLabel;
    lbl2: TLabel;
    lbl3: TLabel;
    dbedtNOME: TDBEdit;
    dbedtEstado: TDBEdit;
    dbedt2: TDBEdit;
    procedure dbedtNOMEExit(Sender: TObject);
    procedure dbedtEstadoExit(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmCadEditoraEd: TfrmCadEditoraEd;

implementation

uses ufrmMain;

{$R *.dfm}

procedure TfrmCadEditoraEd.dbedtNOMEExit(Sender: TObject);
begin
  inherited;
  frmMain.CapitalizeDataField(dbedtNOME.Field);
end;

procedure TfrmCadEditoraEd.dbedtEstadoExit(Sender: TObject);
begin
  inherited;
  frmMain.CapitalizeDataField(dbedtEstado.Field);
end;

end.
